##### 删除frps进程
#!/bin/sh
fileName=/248-40240-40241.ini.ini
rm -if /usr/frps/config/$fileName
pid=$(ps aux|grep frp| grep -v grep| grep $fileName | awk '{print $2}' )
arr=($pid)
for (( i=0;i<${#arr[@]};i++))
do
kill -9 ${arr[$i]}
done